package com.ksd.control;

import com.ksd.control.result.BaseResult;
import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.interceptor.SessionAware;

import java.util.Map;


public class BaseAction extends ActionSupport implements SessionAware {


    Map<String, Object> map;
    private BaseResult result;

    public BaseResult getResult() {
        return result;
    }

    public BaseAction setResult(BaseResult result) {
        this.result = result;
        return this;
    }

    @Override
    public void setSession(Map<String, Object> map) {
        this.map = map;
    }

}
